package com.part.controller;

import com.part.pojo.SysResult;
import com.part.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *
 * </p>
 *
 * @author Song
 * @since 2020/11/24
 */
@RestController
public class LoginController {
    @Autowired
    private IUserService userService;

    @PostMapping("/login")
    public SysResult login(){

        return SysResult.success();
    }

    @GetMapping
    public SysResult logout(){
        return SysResult.success();
    }
}
